//
//  ModelHome.swift
//  首页
//
//  Created by 千策万划-mini on 2025/4/30.
//

import Foundation

struct ModelHome: HandyJSON {
   
    // serves 大卡位 或 小卡位   必有，重点
    var serves: ModelHomeServes? = ModelHomeServes()
    // 重中之重： 强制定位字段：1强制，0不强制， 当等于1时候，点击申请需要判断是否有定位权限，没有的话不允许点击，提示去系统里设置
    var peeked: Int = 0
    // 首页差异化模块显示状态，1表示显示，0表示不显示
    var spare: Int = 0
    
    var snarled: String = ""
    var blazed: String = ""
    var enjoying: String = ""
    
    var zhlF0edFJIFT: String = ""
    var XzV8T2cN: String = ""
    var gDZnKU9X: String = ""
    
    var hopes: ModelHomeHopes? = ModelHomeHopes()
    var particularly: ModelHomeParticularly? = ModelHomeParticularly()
    var show_about: Int = 0
    var farmyard: ModelHomeFarmyard = ModelHomeFarmyard()
    var difference: ModelHomeDifference = ModelHomeDifference()
}

// MARK: - hopes
struct ModelHomeHopes: HandyJSON {
    var sends: String = ""
    var forced: String = ""
}

// MARK: - particularly
struct ModelHomeParticularly: HandyJSON {
    var wisest: String = ""
    var impulsive: [ModelHomeParticularlyImpulsive] = []
}
struct ModelHomeParticularlyImpulsive: HandyJSON {
    var quiet: String = ""
    var product_url: String = ""
    var carry: Int = 0
    var whose: String = ""
    var disappear: String = ""
    var hawk: String = ""
}

// MARK: - serves
struct ModelHomeServes: HandyJSON {
    var wisest: String = ""
    var impulsive: [ModelHomeServesImpulsive] = []
}
struct ModelHomeServesImpulsive: HandyJSON {
    var gnawed: Int = 0
    var sooner: String = ""
    var lucky: String = ""
    var hearted: String = ""
    var freedom: String = ""
    var bold: String = ""
    var peeping: String = ""
    var waved: String = ""
    var appear: String = ""
    var nervous: String = ""
    var bobbed: String = ""
    var loanRateUnit: String = ""
    var termInfoImg: String = ""
    var loanRateImg: String = ""
}

// MARK: - farmyard
struct ModelHomeFarmyard: HandyJSON {
    var wisest: String = ""
    var impulsive: [ModelHomeFarmyardImpulsive] = []
}
struct ModelHomeFarmyardImpulsive: HandyJSON {
    var whose: String = ""
    var post: String = ""
    var persisted: String = ""
    var quiet: String = ""
    var hopes: String = ""
    var repay_amount: String = ""
    var repay_btn_text: String = ""
}

// MARK: - difference
struct ModelHomeDifference: HandyJSON {
    var wisest: String = ""
    var impulsive: [ModelHomeDifferenceImpulsive] = []
}
struct ModelHomeDifferenceImpulsive: HandyJSON {
    var gnawed: Int = 0
    var sooner: String = ""
    var freedom: String = ""
    var smarty: [String] = []
    var shine: String = ""
    var lucky: String = ""
    var shelf: String = ""
    var hearted: String = ""
    var arms: String = ""
    var bold: String = ""
    var bobbed: String = ""
    var sad: Int = 0
    var buttonExplain: String = ""
    var intended: Int = 0
    var relieved: String = ""
    var exploring: Int = 0
    var isCopyPhone: String = ""
    var dead: String = ""
    var quiet: String = ""
    var peeping: String = ""
    var todayClicked: Int = 0
    var killed: [String] = []
    var nailed: String = ""
    var todayApplyNum: Int = 0
    var sounded: String = ""
    var nervous: String = ""
    var glee: String = ""
    var bgColor: Int = 0
    var trace: String = ""
    var peered: String = ""
}
